package com.yifan.concurrency.ch2;

public class LogginWidget extends Widget {
    @Override
    public synchronized void doSomething() {
        System.out.println(toString() + " : calling doSomething");
        super.doSomething();
    }
}
